home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / modula2 / 268 < prev    next >
Encoding:
Text File  |  1996-08-06  |  983 b   |  28 lines

  1. Newsgroups: comp.lang.modula2
  2. Path: cix.compulink.co.uk!usenet
  3. From: dcollier@cix.compulink.co.uk ("David Collier")
  4. Subject: Re: Modula2 for C programmers?
  5. Message-ID: <DMFH4L.Dtx@cix.compulink.co.uk>
  6. Organization: DexDyne
  7. References: <4etbcu$qrd@nyheter.chalmers.se>
  8. Date: Wed, 7 Feb 1996 22:57:57 GMT
  9. X-News-Software: Ameol
  10.  
  11. >It is clearly safest to avoid using this extension (contamination?) and 
  12. >to stick with the PIM case as I suggested and use VAL for the rest.
  13.  
  14. I suppose so. Trouble is I came first to JPI, and never realised for AGES 
  15. that there was anything odd about it!
  16.  
  17. I think the answer is to use VAL for everything, unless you seriously 
  18. intend to copy the bit pattern across, in which case set up variant 
  19. records, and pass everything through them. 
  20.  
  21. Though as Peter Moylan points out, you can check that the SIZE of 2 
  22. things is equivalent, in theory you can't discount a computer strong it's 
  23. floating point values ( or anything else ) in BCD.....:-((
  24.  
  25. David.
  26.  
  27.  
  28.